package Yuoxi;

public class Tee {

    public static void main(String[]args){
        Robber robber=new Robber("王五",20);
        robber.selfIntroduce();
        robber.rob();
        robber.attack();

        Hunter hunter=new Hunter("张三",30);
        hunter.selfIntroduce();
        hunter.hunt();
        hunter.attack();

        Doctor doctor =new Doctor("华佗",100);
        doctor.selfIntroduce();
        doctor.treat();

        Farmer farmer=new Farmer("李四",60);
        farmer.selfIntroduce();
        farmer.attack();
        farmer.mine();
        farmer.treat();

        Soldier soldier=new Soldier("白起",150);
        soldier.selfIntroduce();
        soldier.defend();



    }
}
